package com.mdd.common.enums;

public enum PointsChangeEnum {

    BNW_INC_ADMIN(200, "系统赠送积分"),

    BNW_DEC_ADMIN(201, "系统减少积分"),

    BNW_DEC_ORDER(202, "下单扣减积分"),

    BNW_INC_ORDER(203, "消费赠送积分"),

    BNW_INC_ORDER_CANCEL(205, "取消订单退还积分"),

    BNW_DEC_ORDER_CANCEL(206, "回收奖励的积分"),

    BNW_INC_SIGIN(204, "签到赠送积分"),

    ACTION_INC(1, "增加"),

    ACTION_DEC(0, "减少");

    private final int code;
    private final String msg;

    PointsChangeEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    /**
     * 获取状态码
     *
     * @author fzr
     * @return Long
     */
    public int getCode() {
        return this.code;
    }

    /**
     * 获取提示
     *
     * @author fzr
     * @return String
     */
    public String getMsg() {
        return this.msg;
    }

}
